package com.bootdo.repertory.dao;

import com.bootdo.repertory.domain.BorrowDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 借入
 * @author wang_wan_yu
 * @email 1992lcg@163.com
 * @date 2020-03-02 11:10:12
 */
@Mapper
public interface BorrowDao {

	BorrowDO get(Integer id);
	
	List<BorrowDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(BorrowDO borrow);
	
	int update(BorrowDO borrow);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
